home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / admin.fmt / weeklydump.man < prev   
Encoding:
Text File  |  1991-09-28  |  3.8 KB  |  135 lines

  1.  
  2.  
  3.  
  4. WEEKLYDUMP                User Commands                WEEKLYDUMP
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      weeklydump - Script to do weekly fully dumps
  12.  
  13. SSYYNNOOPPSSIISS
  14.      wweeeekkllyydduummpp [--ii] [_s_t_a_r_t_F_s]
  15.  
  16. OOPPTTIIOONNSS
  17.      _s_t_a_r_t_F_s        Start dumping with the named filesystem.
  18.  
  19.      -i             Initialize the tape drives first with  ``dump
  20.                     -s''.
  21.  
  22. _________________________________________________________________
  23.  
  24.  
  25. DDEESSCCRRIIPPTTIIOONN
  26.      This script does full (level 0) dumps of all the filesystems
  27.      that  are  normally backed up.  It is normally invoked manu-
  28.      ally over the weekend.
  29.  
  30.      The script has hard-coded a list of tape devices.  It  dumps
  31.      filesystems  onto the first tape until it gets an error.  It
  32.      then continues with the second tape until  the  next  error,
  33.      etc.   If  it  runs  out of tapes before all the filesystems
  34.      have been dumped, it sends mail to the user dduummppeerr with  the
  35.      name  of the first filesystem in the list that has yet to be
  36.      dumped.
  37.  
  38.      The  list  of  filesystems   to   dump   is   contained   in
  39.      //sspprriittee//aaddmmiinn//dduummpp//dduummpplliisstt.   If wweeeekkllyydduummpp is invoked with
  40.      the name of a filesystem, it starts  with  that  filesystem,
  41.      skipping  over  the filesystems that appear before it in the
  42.      list.  If wweeeekkllyydduummpp is not given the name of a  filesystem,
  43.      it     looks     for     the    starting    filesystem    in
  44.      //sspprriittee//aaddmmiinn//dduummpp//ddooiinnggwweeeekkllyy.   If  that  file  is  empty,
  45.      wweeeekkllyydduummpp simply starts at the top of the list.
  46.  
  47.      WWeeeekkllyydduummpp  puts  the  name   of   the   current   user   in
  48.      //sspprriittee//aaddmmiinn//dduummpp//dduummppaalliiaass.   Mail  sent to the ``dumper''
  49.      alias is sent to the user named  in  this  file.  WWeeeekkllyydduummpp
  50.      also  creates the file //sspprriittee//aaddmmiinn//dduummpp//ddooiinnggwweeeekkllyy, which
  51.      disables the daily dumps.  This file  is  removed  when  the
  52.      weekly dumps complete.
  53.  
  54.      If wweeeekkllyydduummpp detects an error, it sends mail to dduummppeerr  and
  55.      exits.   It  also  creates  a  status  file,  so that if the
  56.      machine running the weekly dumps crashes while the dumps are
  57.      running,  mail  will  be  sent  to  dduummppeerr  when the machine
  58.      reboots, telling about the crash.
  59.  
  60.      If wweeeekkllyydduummpp is invoked with the --ii flag, it will  initial-
  61.      ize the tapes in both tape drives before starting.
  62.  
  63.  
  64.  
  65. Sprite v.1.0      Printed:  September 28, 1991                  1
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72. WEEKLYDUMP                User Commands                WEEKLYDUMP
  73.  
  74.  
  75.  
  76. FFIILLEESS
  77.      All the following files are in /sprite/admin/dump:
  78.  
  79.      doingweekly    lock file to prevent daily dump from running.
  80.                     Names the filesystem currently being dumped.
  81.  
  82.      doingweekly.active
  83.                     status file used to detect crashes.  Contains
  84.                     the name of the host running the dumps.
  85.  
  86.      dumpalias      User name of the current  dumper,  for  error
  87.                     and status messages.
  88.  
  89.      dumpdates      list of filesystems  dumped,  at  what  time,
  90.                     what tape, etc.
  91.  
  92.      dumplist       list of file systems to dump.
  93.  
  94.      dumplog        very large status log from the dump programs
  95.  
  96.      tapelist       list of tape devices uses for the dump
  97.  
  98.  
  99. KKEEYYWWOORRDDSS
  100.      dump, tape, backup
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. Sprite v.1.0      Printed:  September 28, 1991                  2
  132.  
  133.  
  134.  
  135.